"use strict";
/**
 * @author zhaojiuyi
 * @date 2022/6/1-9:51
 * @version 1.0.0
 */
import store from '@/store/index';
import {
	getRequest,
	postRequest
} from '@/util/requests/requests';
export default {
	getMapData(){
		return postRequest({
			url: '/schoolInfo/getProvinceSchoolNum'
		})
	},
  getSchoolsByProvince(province){
    return postRequest({
      url: '/schoolInfo/getSchoolNumByProvinceId',
      params: {
        province: province
      }
    })
  },
  getSchoolFeverList(){
    return postRequest({
      url: '/schoolFever/getSchoolFeverList'
    })
  },
  getBarData(){
    return postRequest({
      url: '/chartData/getBarData'
    })
  },
  getLineData(){
    return postRequest({
      url: '/chartData/getLineData'
    })
  }
}
